<?php
/**
 * SMARTY plugin for LiWeb CMS used for easy displaing of modules.
 *
 * @author Martin "DevelX" Jurča
 * @version 2009-02-17
 */
function smarty_function_displaymodule($params, &$smarty) {
    Cache::pauseOutputCache($params['pause']);
    Cache::useModuleDisplayer($params['module'], $params['param']);
    Cache::continueOutputCache($params['pause']);
}
?>
